<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">

      <a class="navbar-brand" href="#">博客</a>
        <a class="navbar-brand" href="#">{{$nav}}</a>
        <p>{{$user}}</p>

    </div>

  </div><!-- /.container-fluid -->
</nav>


<div class="container-fluid">

  @if (count($errors) > 0)
  <div class="alert alert-danger">
      <ul>
          @foreach($errors->all() as $error)
          <li>{{ $error }}</li>
          @endforeach
      </ul>
  </div>
@endif

@yield('content')
</div>


<div class="panel-footer">
 <p class="text-muted">footer
 {{$link}}
 </p>
</div>
<style type="text/css">
.panel-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #333;
}

</style>
</body>
</html>